package ch.six4rty.doodle.events
{
	import flash.events.Event;

	public class OAuthEvent extends Event
	{
		public static const REQUESTTOKEN_RECEIVED		:String = "requesttoken_received";
		public static const ACCESSTOKEN_RECEIVED		:String = "acccesstoken_received";
		
		
		public function OAuthEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
		}
		
		public override function clone():Event {
			return new OAuthEvent(type);
		}		
		
		public override function toString():String { 
			return formatToString("type", "selected", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
}